/*
 * @file idle_server.h
 * @brief	no action from the user.
 *
 * @author	Peter Evers
 * @author	Michiel Hegemans
 * @date	Jan 2013
 */

#include "servers/base_server.h"
#include "rp_states/IdleAction.h"
#include "rp_states/idle_results.h"

class IdleAction : public BaseServer {
private:
	actionlib::SimpleActionServer<rp_states::IdleAction> _as;

	rp_states::IdleFeedback _feedback;
	rp_states::IdleResult _result;
public:
	IdleAction(std::string name);
	~IdleAction();

	/**
	 * Execute goal, do nothing :-).
	 */
	void execute(const rp_states::IdleGoalConstPtr &goal);
};

